package com.leven.weatherdemo.view;

import com.leven.weatherdemo.model.entity.Weather;

/**
 * Created by Administrator on 2016/8/16.
 */
public interface WeatherView {
    /**
     * 显示进度条
     */
    void showLoading();

    /**
     *隐藏进度条
     */
    void dismissLoading();

    /**
     * 显示更新失败
     */
    void showError();

    /**
     * 更新UI
     * @param weather
     */
    void setWeatherInfo(Weather weather);
}
